import Vue from 'vue';
import Vuetify from 'vuetify/lib';

//国际化  引入中文
import zhHans from 'vuetify/es5/locale/zh-Hans'

// UI框架载入
Vue.use(Vuetify);

// UI框架配置
export default new Vuetify({
  lang: {
    locales: { zhHans },
    current: 'zhHans',
  },
  icons: {
    iconfont: 'mdi',
  },
  theme: {
    themes: {
      light: {
        primary: '#0a8dff',
        secondary: '#424242',
        accent: '#16598f',
        error: '#FF5252',
        info: '#2196F3',
        success: '#4CAF50',
        warning: '#dda606'
      },
    },
  },
});
